package com.teacher.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.teacher.common.CommonResult;
import com.teacher.pojo.dto.moraleducationbasic.MoralEducationBasicGetDto;
import com.teacher.pojo.entity.MoralEducationBasic;
import com.baomidou.mybatisplus.extension.service.IService;
import com.teacher.pojo.vo.moraleducationbaisc.MoralEducationBasicGetVo;

/**
 * <p>
 * 德育基础分 服务类
 * </p>
 *
 * @author zfm
 * @since 2021-08-05
 */
public interface IMoralEducationBasicService extends IService<MoralEducationBasic> {

    /**
     * 初始化基础德育分
     *
     * @param classId
     * @return
     */
    CommonResult<String> init(Long classId);

    /**
     * 查询德育基本分
     *
     * @param dto
     * @return
     */
    CommonResult<IPage<MoralEducationBasicGetVo>> getPage(MoralEducationBasicGetDto dto);
}
